package com.rh.number.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.persistence.Column;
import jakarta.persistence.Transient;

import java.time.LocalDate;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (Number)实体类
 *
 * @author makejava
 * @since 2025-03-21 14:33:01
 */
public class numberEntity implements Serializable {
    private static final long serialVersionUID = -33885638863668737L;



    @ExcelProperty("ID")
    private Integer id;

    @ExcelProperty("号码")
    private Long num;

    @ExcelProperty("号码类型")
    private String type;

    @ExcelProperty("省份")
    private String province;

    @ExcelProperty("城市")
    private String city;

    @ExcelProperty("上架状态")
    private String state;

    @ExcelProperty("报备资质")
    private String qualification;

    @ExcelProperty("业务场景")
    @Column(name = "business_scenario")
    private String businessScenario;

    @ExcelProperty("上游归属")
    private String upstream;

    @ExcelProperty("成本月租")
    @Column(name = "monthly_rent")
    private String monthlyRent;

    @ExcelProperty("单号并发")
    private String concurrent;

    @ExcelProperty("管控频次")
    @Column(name="control_frequency")
    private String controlFrequency;

    @ExcelProperty("状态")
    @Column(name="exclusive_status")
    private String exclusiveStatus;

    @ExcelProperty("生效日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Column(name="effective_date")
    private LocalDate effectiveDate;

    @ExcelProperty("客户")
    private String client;

    @ExcelProperty("项目")
    private String project;

    @ExcelProperty("销售月租")
    @Column(name="sales_monthly_rent")
    private String salesMonthlyRent;

    @ExcelProperty("下架时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Column(name="removal_time")
    private LocalDate removalTime;

    @ExcelProperty("备注")
    private String remark;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getQualification() {
        return qualification;
    }

    public void setQualification(String qualification) {
        this.qualification = qualification;
    }

    public String getbusinessScenario() {
        return businessScenario;
    }

    public void setbusinessScenario(String businessScenario) {
        this.businessScenario = businessScenario;
    }

    public String getUpstream() {
        return upstream;
    }

    public void setUpstream(String upstream) {
        this.upstream = upstream;
    }

    public String getMonthlyRent() {
        return monthlyRent;
    }

    public void setMonthlyRent(String monthlyRent) {
        this.monthlyRent = monthlyRent;
    }

    public String getConcurrent() {
        return concurrent;
    }

    public void setConcurrent(String concurrent) {
        this.concurrent = concurrent;
    }

    public String getControlFrequency() {
        return controlFrequency;
    }

    public void setControlFrequency(String controlFrequency) {
        this.controlFrequency = controlFrequency;
    }

    public String getExclusiveStatus() {
        return exclusiveStatus;
    }

    public void setExclusiveStatus(String exclusiveStatus) {
        this.exclusiveStatus = exclusiveStatus;
    }

    public LocalDate getEffectiveDate() {
        return effectiveDate;
    }

    public void setEffectiveDate(LocalDate effectiveDate) {
        this.effectiveDate = effectiveDate;
    }

    public LocalDate getRemovalTime() {
        return removalTime;
    }

    public void setRemovalTime(LocalDate removalTime) {
        this.removalTime = removalTime;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getSalesMonthlyRent() {
        return salesMonthlyRent;
    }

    public void setSalesMonthlyRent(String salesMonthlyRent) {
        this.salesMonthlyRent = salesMonthlyRent;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}

